/* 基础样式重置与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-bottom: 50px;
}

/* 导航列表容器样式 */
.nav {
    width: 1200px;
    margin: 44px auto;
    padding: 0 20px;
    list-style: none;
}

/* 列表项样式 */
.nav li {
    border-bottom: 2px solid #000;
    padding: 14px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 链接样式 */
.nav li a {
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
    padding: 20px 0;
}

/* 左侧内容区域 */
.nav li .left {
    width: 800px;
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.left h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.nav li h4:hover,
.nav li:hover .left h4 {
    color: dodgerblue;
}

.left p {
    color: #666;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

/* 时间信息样式 */
.nav li a .left .time-info,
.time-info {
    color: darkgray;
    font-size: 14px;
    display: inline-block;
    padding: 4px 0;
    border-top: 1px solid #f1f1f1;
}

/* 右侧图片区域 */
.nav li .right {
    flex: 0 0 200px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
}

.nav li .right img {
    width: 260px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nav li:hover .right img {
    transform: scale(1.05);
}

/* 功能按钮区域 */
.func {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 12px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.func a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.func a:first-child {
    color: #3498db;
    border: 1px solid #3498db;
}

.func a:first-child:hover {
    background-color: #3498db;
    color: white;
}

.func a:last-child {
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.func a:last-child:hover {
    background-color: #e74c3c;
    color: white;
}

/* 底部信息和分页样式 */
.bottom-info {
    text-align: center;
    margin: 30px 0;
    color: darkgray;
    font-size: 1rem;
}

.bottom-info a {
    display: inline-block;
    margin: 0 8px;
    padding: 6px 12px;
    text-decoration: none;
    color: #3498db;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bottom-info a:hover {
    background-color: #3498db;
    color: white;
}

.bottom-info a[style*="border-bottom"] {
    font-weight: bold;
    color: #2980b9;
}

/* 响应式设计调整 */
@media (max-width: 1200px) {
    .nav {
        width: 100%;
    }
    
    .nav li .left {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 10px;
        margin: 20px auto;
    }
    
    .nav li a {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .nav li .right {
        flex: 0 0 100%;
        height: 200px;
        margin-top: 15px;
    }
    
    .nav li .left {
        width: 100%;
        padding-right: 0;
        min-width: auto;
    }
    
    .left h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .func {
        justify-content: center;
    }
    
    .bottom-info a {
        margin: 5px 3px;
        padding: 4px 8px;
        font-size: 0.9rem;
    }
    
    .nav li .right img {
        width: 100%;
    }
}